package com.kuang.a03threadcase3;

import java.util.concurrent.Callable;

/**
 * @author gs
 * @date 30/5/2024 上午9:42
 */
public class MyCallable implements Callable<Integer> {
    @Override
    public Integer call() throws Exception {
        int result = 0;
        for (int i = 0; i < 101; i++) {
            result += i;
        }
        return result;
    }

}
